<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'MyJsp.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<style type="text/css">
.inputButton {
	width: 100px;
	height: 40px;
	background: #00FF00;
	border: 1px solid #666666;
}
</style>

</head>

<body>
	<a href="TurnOn" class="inputButton">启动</a>
	<a href="TurnOff" class="inputButton">关闭</a>
	<br>
	<a href="TurnOnOrOffEmail?type=on" class="inputButton">开邮箱通知</a>
	<a href="TurnOnOrOffEmail?type=off" class="inputButton">关邮箱通知</a>
	<br/>
	<STRONG><h1>${requestScope.msg}</h1> </STRONG>
</body>
</html>
